home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / soft / fvsetup.exe / {app} / fv.dll / scripts / DefineSprite_35 / frame_15 / DoAction.as
Text File  |  2003-01-24  |  694b  |  36 lines

  1. if(eval("/:win") != "1")
  2. {
  3.    bcount = "1";
  4.    while("9" >= bcount)
  5.    {
  6.       if(getProperty("../", _name) == bcount)
  7.       {
  8.          count = "1";
  9.          while("9" >= count)
  10.          {
  11.             if(getProperty("/" add count, _currentframe) == "4")
  12.             {
  13.                tellTarget("/" add count)
  14.                {
  15.                   gotoAndStop(1);
  16.                }
  17.             }
  18.             count += "1";
  19.          }
  20.       }
  21.       bcount += "1";
  22.    }
  23. }
  24. if(eval("/:remain") == "0" or eval("/:click_times") == "9")
  25. {
  26.    if(eval("/:win") != "1")
  27.    {
  28.       tellTarget("/")
  29.       {
  30.          gotoAndStop("even");
  31.          play();
  32.       }
  33.    }
  34. }
  35. stop();
  36.